From: Jim Blandy Date: Wed, 26 May 1993 18:32:19 +0000 (+0000) Subject: * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95936 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=252c8b3bc05547c889eb926e19b64729612fa3de;p=emacs.git * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; the former gives you the operating system rev directly. Use s/hpux.h if we don't recognize what we got. --- diff --git a/configure1.in b/configure1.in index af9ed64e4a4..b949da92abf 100755 --- a/configure1.in +++ b/configure1.in @@ -526,9 +526,10 @@ case "${configuration}" in ;; hppa*-hp-hpux* ) ## Cross-compilation? Nah! - case "`uname -m`" in - 9000/8?? ) machine=hp9000s800 opsys=hpux ;; - 9000/7?? ) machine=hp9000s800 opsys=hpux8 ;; + case "`uname -r`" in + *.08.* ) machine=hp9000s800 opsys=hpux ;; + *.09.* ) machine=hp9000s800 opsys=hpux8 ;; + *) machine=hp9000s800 opsys=hpux ;; esac ;;